import 'package:meiyunapp/generated/json/base/json_convert_content.dart';
import 'package:meiyunapp/generated/json/base/json_field.dart';

class NearBystoreEntity with JsonConvert<NearBystoreEntity> {
  late int pageNo;
  late int pageSize;
  late int pageCount;
  late int count;
  late int startNumber;
  @JSONField(name: "list")
  late List<NearBystoreList> xList;
}

class NearBystoreList with JsonConvert<NearBystoreList> {
  late int id;
  late String name;
  late int distance;
  late String distanceStr;
  late dynamic tagIds;
  late int cityId;
  late List<NearBystoreListProducts> products;
}

class NearBystoreListProducts with JsonConvert<NearBystoreListProducts> {
  late int id;
  late String coverImage;
  late String name;
  late num costPrice;
  late num salesPrice;
  late num activePrice;
  late int stock;
  late num totalSales;
  String? couponId;
  String? voucherId;
  int? price;
  late String categoryIds;
  late String storeId;
  late int buyFlag;
}
